package com.myminio.springbootminio.entity


data class RestResult<T> constructor( var success:Boolean, var code:Int, var msg:String?,var data:T?) {
    constructor():this(false,200,null,null)
    constructor(code:Int, msg:String):this(false,code,msg,null)
    constructor(success:Boolean, code:Int, msg:String):this(success,code,msg,null)
}